package com.dglg.spring.service;

import com.dglg.spring.model.ImageFile;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;
import java.io.OutputStream;

public interface FileService {
    //文件上传
    public ImageFile upload(MultipartFile file) throws IOException;

    // 文件下载
    public Object download(OutputStream os,String filePath) throws IOException;

}
